CREATE PROCEDURE babel_3934_1 AS BEGIN DECLARE @A AS int DECLARE @C int SELECT TOP(1) @A = A, @B = B FROM tbl END
GO

CREATE PROCEDURE babel_3934_2 AS BEGIN RETURN 1 END
GO